home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / MSDOS / (m)aac / NYWHELP.12 < prev    next >
Text File  |  1986-08-02  |  2KB  |  38 lines

  1.                             MACRO COMMANDS
  2.  
  3. NYWord  allows you to type in keystroke macros and textual macros, and
  4. to save them along with your document. You are also able to read in  a
  5. library of pre-defined macros. 
  6.  
  7. <USE MACRO> executes a macro that you have previously defined. You are
  8. prompted for the name of the macro - type it in, or type a '?' to view
  9. all  previously  defined  macros.  This  command may be preceded by an
  10. optional count (ie - <ESC> 3 <USE MACRO>  a  will  execute  macro  'a'
  11. three times.)
  12.  
  13. <DEFINE MACRO> allows to user to create a macro. When prompted for the
  14. name of the macro, the user has several options :
  15.  '?' views all currently defined macros
  16.  'cap'  initiates  capture mode. Any keystrokes you type will not only
  17. affect the text, but will be 'captured' in a buffer as  well.  To  end
  18. the capture process, press the <DEFINE MACRO> key again.
  19.   'read'  allows you to read in a macro file. You are prompted for the
  20. name of the macro file - type it in. The macros in that file will  now
  21. be attached to your file.
  22.   Any  other  name will cause a 'regular' macro to be defined. You are
  23. faced with a blank screen. Just type the macro  as  you  would  normal
  24. text. Then type <CTRL> D to exit the definition.
  25.  
  26.     Macros  which  are  read  in, and 'regular' macros are saved along
  27. with your document. When you edit the document again, the  macros  you
  28. defined will be left intact, and you can use them at any time.
  29.  
  30.     The format of a macro file is :
  31.   macro name
  32.   lines containing the definition
  33.   .  (a period in column 1 followed by a <RETURN>)
  34.   <0 or more blank lines>
  35.   macro name 2
  36.   macro definition 2
  37.   .
  38.   (etc)